@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
   
}

body {
  background-color: #202020;
  color: #ffffff;
}

@font-face {
    font-family: Spectral;
    src: url(../font/Spectral/Spectral-Medium.ttf);
}

@font-face {
    font-family: Noto_Sans_JP;
    src: url(../font/Noto_Sans_JP/static/);
}


header {
  width: 100%;
  padding: 3% 8%;
}

header .top-box {
  display: block;
  animation: slideinTop 3s;    
}

@keyframes slideinTop {
  0% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0px);
  }
}

header .top-box h1 img {
  width: 45%;
}

header nav {
  width: fit-content;   
}

header nav ul {
  display: flex;
}

header nav ul li {
  width: fit-content;
  margin-right: 2em;
  line-height: 1;
  list-style-type: none;
}

header nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-family: Spectral;
  font-size: 2.8vw;
  transition: 0.5s
}

header nav ul li a:hover {
color: #818180;
transition: 0.5s 
}




/* トップ画像 */
.top-photo {
    background-image: url(../images/topphoto2.jpg);
    height: 30vw;
    background-size: cover;  
    filter: grayscale(85%);
    }



/* スライドショー */
.slide {
  position: relative;
  overflow: hidden;
  width:90%;
  height: 53vw;
  margin-top: 10%;
  margin-left: 10%;
  margin-right: auto;
  /* margin: auto; */
  background: #202020;
}
.slide img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  left: 100%;
  animation: slide-anime 36s ease infinite;
}
.slide img:nth-of-type(1) {animation-delay: 0s;}
.slide img:nth-of-type(2) {animation-delay: 4s;}
.slide img:nth-of-type(3) {animation-delay: 8s;}
.slide img:nth-of-type(4) {animation-delay: 12s;}
.slide img:nth-of-type(5) {animation-delay: 16s;}
.slide img:nth-of-type(6) {animation-delay: 20s;}
.slide img:nth-of-type(7) {animation-delay: 24s;}
.slide img:nth-of-type(8) {animation-delay: 28s;}
.slide img:nth-of-type(9) {animation-delay: 32s;}
.slide img:nth-of-type(10) {animation-delay: 36s;}
 
@keyframes slide-anime{
  0% {left: 100%;}
  5% {left: 0;}
  18% {left: 0;}
  20% {left: -100%;}
  100% {left: -100%;}
}



/* スライドライン */

.bbs{
  align-items: center;
  color: #fff;
  display: flex;
  height: 10vw;
  line-height: 2;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  margin-top: 10%;
  z-index: 1;
}
.bbs ul {
  animation: flowing 60s linear infinite;
  font-size: 3vw;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs ul li{
  display: inline-block;
  padding-right: 3%;
  font-family: Spectral;
  letter-spacing: 0.07em;
  filter: opacity(40%);
}
@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}





/* フッター */
footer {
  width: 100%;
  padding: 6% 12.5%;
  background-color: rgb(43, 44, 44)
}

footer img {
  width: 45%;
  margin-bottom: 4%;
  margin: 0 auto;
}

.logoline {
    display: block;
}

.line {
    width: 78%;
    margin-right: auto;
    margin-bottom: 5%;
    border-bottom: 0.5px solid #ffffff;
}

.footer-flexbox {
    display: block;
}

footer .addressbox {
  width: 80%;
}

footer .addressbox address {
    font-weight: 200;
    font-size: 2.8vw;   
    font-style: normal;
    line-height: 2;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    color: #fff;  
}

.textbox {
    display: flex;
    width: 80%;
    margin-top: 7%;
}

.footer-middlebox {
  width: 30%;
}

.footer-rightbox {
    width: 30%;
    margin-left: 10%;
}


footer .footer-middlebox a, .footer-rightbox a {
    line-height: 2;
    font-weight: 200;
    font-size: 2.5vw; 
    text-decoration: none;  
    color: #fff;
    transition: 0.5s;
  }

  footer .footer-middlebox a:hover {
    font-weight: 400;
    transition: 0.5s;
  }
  
  footer .footer-rightbox a:hover {
    font-weight: 400;
    transition: 0.5s;
  }

  footer .sns-icon {
    width: 13%;
    margin-left: 10%;
    height: fit-content;
    font-size: 5vw;
  }

footer .sns-icon .fa-brands {
    color: #fff;
  }

footer .sns-icon .fa-instagram {
  margin-left: 3%;
  }
  
footer .textbox p {    
    letter-spacing: 0.07em;
    font-size: 3vw;
    color: #fff;
}
